Configuring PHP Timeouts under Windows Apache
The following instructions are intended for running Zend Server with Zend Enabler on Windows.
Issue:
The default timeout settings for Zend Enabler, may cause runtime failures for scripts that run longer than 60 seconds.
Long scripts occupy the PHP pool, and may render the PHP process unavailable for new requests.
Resolution:
If you know that you have scripts that run more than 60 seconds, set your Zend Enabler and PHP to a longer script timeout duration.
Timeout configuration is illustrated in the following diagram:
Notes:
Before editing default values, backup the specified file for easy revert in case PHP functionality fails.
Edit the specified configuration file using a simple text editor. Rich editors may break the formatting and render a non-operational server.
Zend Enabler Settings
This procedure describes how to change the Zend Enabler timeout settings for Apache.
|
|
|
To configure Zend Enabler timeout settings:
<Timeouts connectionTimeout="60" requestTimeout="120" />
|
|
PHP Settings
This procedure describes how to configure your PHP's execution time.
|
|
|
To configure your PHP's execution time:
|
|